package com.qf.service;

import com.qf.pojo.DtsAdmin;

import java.util.List;
import java.util.Map;

/**
 * @author Ypl
 * @version V1.0
 * @Project September-mavens
 * @Package com.qf.service
 * @Description:
 * @Date 2022/10/13 10:55
 */
@SuppressWarnings("all")

public interface DtsAdminService {

    DtsAdmin findByUserName(String username);

    Map<String, Object> findByPage(Integer page, Integer limit, String sort, String order, String username);


    void insertAdmin(DtsAdmin dtsAdmin);

    void updateAdmin(DtsAdmin dtsAdmin);

    void deleteAdmin(DtsAdmin dtsAdmin);

    List<Map<String, Object>> findAll();
}
